package com.publish.file.repository.product.entity;

import com.publish.file.service.packages.PackageManagerService;

/**
 * 对 {@link ProductEntity}的包装，增加count page用于表单的查询
 */
public class ProductExt {
	public ProductExt(ProductEntity entity) {
		this.name = entity.name;
		this.id = entity.id;
	}

	// 项目类型
	public String name;
	// 项目id
	public Long id;
	// 项目下包的数量
	public int count;
	// 分页查询页大小
	public int page = PackageManagerService.PageSize;
}